package com.zxw.user.mapper;
import org.apache.ibatis.annotations.Param;

import com.zxw.user.domain.entity.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Xuewei.Zhang
 * @since 2022-02-27
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {

    List<Long> getRoleIdByCompanyIdAndUserId(@Param("companyId") Long companyId, @Param("userId") Long userId);
}
